﻿using SH.Common.DataDictionary;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Multitenant.Domain.RBAC
{
    public class Emp_Role : Tenant
    {
        /// <summary>
        /// 员工角色ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]

        public int ERId { get; set; }

        /// <summary>
        /// 员工ID
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)", IsNullable = false)]
        public string EmpId { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        
        public int RoleId { get; set; }
    }
}
